<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>贷款申请</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  $(function(){
	  var date = new Date();
	  $("#applyYear").val(date.getFullYear());
  });
  	
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="loanApplyController.do?doAdd" >
					<input id="id" name="id" type="hidden" value="${loanApplyPage.id }"/>
					
	<fieldset>
		<legend>学生信息</legend>
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							申请人姓名:
						</label>
					</td>
					<td class="value">
					     	 <input id="" name="" type="text" maxlength="20" style="width: 150px" class="inputxt"   disabled="disabled" ignore="ignore" value='${studentPage.stuName}' />
							<input id="applyId" name="applyId" type="hidden" value='${studentPage.id}' />
					</td>
					
					<td align="right">
						<label class="Validform_label">
							申请人联系方式:
						</label>
					</td>
					<td class="value">
					     	 <input id="" name="" type="text" maxlength="20" style="width: 150px" class="inputxt"   disabled="disabled" ignore="ignore" value='${studentPage.telphone}'/>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							申请人身份证ID:
						</label>
					</td>
					<td class="value">
					     	 <input id="" name="" type="text" maxlength="20" style="width: 150px" class="inputxt"  disabled="disabled"  ignore="ignore" value='${studentPage.cardCode}'/>
					</td>
					
					<td align="right">
						<label class="Validform_label">
							申请人联系地址:
						</label>
					</td>
					<td class="value">
					     	 <input id="" name="" type="text" maxlength="20" style="width: 150px" class="inputxt"  disabled="disabled"  ignore="ignore" value='${studentPage.address}'/>
					</td>
				</tr>
		</table>
	</fieldset>
	<fieldset>
		<legend>贷款申请</legend>
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							申请学年:
						</label>
					</td>
					<td class="value">
					     	 <input id="applyYear" name="applyYear" type="text" maxlength="20" readonly="readonly"  style="width: 150px" class="inputxt"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">申请学年</label>
						</td>
						
					<td align="right">
						<label class="Validform_label">
							申请金额(最大6000元):
						</label>
					</td>
					<td class="value">
					     	 <input id="loanMoney" name="loanMoney" type="number" maxlength="20" style="width: 150px" class="inputxt"  datatype="n"  ignore="ignore" value="6000"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">请填写金额</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							贷款期限:
						</label>
					</td>
					<td class="value">
					     	 <select id="loanYear" name="loanYear"> 
					     	 	<option value="4" selected="selected">4年 </option> 
					     	 	<option value="5">5年</option> 
					     	 	<option value="6">6年 </option> 
					     	 	<option value="7">7年</option> 
					     	 	<option value="8">8年 </option>
					     	 </select>
					     	 <span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">请选择贷款期限</label>
					</td>
					<td class="value" colspan=2></td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							申请理由:
						</label>
					</td>
					<td class="value" colspan =3>
						  	 <textarea style="height:auto;width:95%" class="inputxt" rows="6" id="applyDetali" name="applyDetali" datatype="*" ignore="checked" nullmsg="请填写用户名！"></textarea>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">申请理由</label>
						</td>
				</tr>
			</table>
		</fieldset>
		<fieldset>
			<legend>共同还款人信息</legend>
			<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							共同还款人姓名:
						</label>
					</td>
					<td class="value">
					     	 <input id="repalyName" name="repalyName" type="text" maxlength="32" style="width: 150px" class="inputxt" datatype="*" ignore="checked" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">共同还款人</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							与申请人之间关系:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="repalyAbout" type="list"  typeGroupCode="loay_about"  defaultVal="${loanApplyPage.repalyAbout}" hasLabel="false" datatype="*" title="共同还款人关系" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">共同还款人关系</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							共同还款人联系方式:
						</label>
					</td>
					<td class="value">
					     	 <input id="repalyPhone" name="repalyPhone" type="text" maxlength="20" style="width: 150px" class="inputxt"  ignore="checked" datatype="*" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">共同还款人联系方式</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							共同还款人联系地址:
						</label>
					</td>
					<td class="value">
					     	 <input id="replayAdress" name="replayAdress" type="text" maxlength="50" style="width: 150px" class="inputxt"  ignore="checked" datatype="*"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">共同还款人家庭住址</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							共同还款人身份证ID:
						</label>
					</td>
					<td class="value">
					     	 <input id="replayNumberId" name="replayNumberId" type="text" maxlength="20" style="width: 150px" class="inputxt"  ignore="checked" datatype="*"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">共同还款人身份证ID</label>
					</td>
				</tr>
			</table>
		</fieldset>
				<!-- <tr>
					<td align="right">
						<label class="Validform_label">
							审批人:
						</label>
					</td>
					<td class="value">
					     	 <input id="dealId" name="dealId" type="text" maxlength="20" style="width: 150px" class="inputxt"  datatype="n"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">审批人</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							审批日期:
						</label>
					</td>
					<td class="value">
							   <input id="dealDate" name="dealDate" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">审批日期</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							申请日期:
						</label>
					</td>
					<td class="value">
							   <input id="applyDate" name="applyDate" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()"  ignore="ignore" />    
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">申请日期</label>
						</td>
				</tr>
				
				
				
				<tr>
					<td align="right">
						<label class="Validform_label">
							申请描述:
						</label>
					</td>
					<td class="value" >
						  	 <textarea style="height:auto;width:95%" class="inputxt" rows="6" id="applyDetali" name="applyDetali"  ignore="checked" ></textarea>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">申请描述</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							审批详情:
						</label>
					</td>
					<td class="value" >
						  	 <textarea style="height:auto;width:95%" class="inputxt" rows="6" id="dealDetail" name="dealDetail"  ignore="checked" ></textarea>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">审批详情</label>
						</td>
					</tr>
			</table> -->
		</t:formvalid>
 </body>
